<template>
  <div>
    <router-link to="/home">首页</router-link>&nbsp;
    <router-link to="/movie/1/长津湖">长津湖</router-link>&nbsp;
    <router-link to="/movie/2/钢铁侠">钢铁侠</router-link>&nbsp;
    <router-link to="/movie/4/赤道">赤道</router-link>&nbsp;
    <router-link to="/music?id=3&name=凤凰传奇">凤凰传奇</router-link>&nbsp;
    <router-link to="/music?id=7&name=刘德华">刘德华</router-link>&nbsp;

    <router-link to="/about">关于</router-link>&nbsp;
    <router-link to="/about/me">关于我</router-link>&nbsp;
    <router-link to="/about/you">关于你</router-link>&nbsp;
    <hr />
    <router-view></router-view>
    <!-- 声明组件占位符,用于展示组件 -->
  </div>
</template>

<script>
export default {};
</script>

<style>
.router-link-exact-active {
  color: red;
}
</style>